package edu.neumont.pro180._2009_q2.chess.pieceFactory;

import edu.neumont.pro180._2009_q2.GamePiece;
import edu.neumont.pro180._2009_q2.chess.Knight;

public class KnightFactory extends ChessPieceFactory {
	private static ChessPieceFactory instance;

	public static ChessPieceFactory getInstance() {
		if (instance == null) {
			instance = new KnightFactory();
		}
		return instance;
	}

	private KnightFactory() {
	}

	@Override
	protected GamePiece makeCustomPiece() {
		return new Knight();
	}
}
